Auto merge of #4393 - burtonageo:update-cargo-new-template, r=matklad
authorbors <bors@rust-lang.org>
Sat, 12 Aug 2017 14:46:51 +0000 (14:46 +0000)
committerbors <bors@rust-lang.org>
Sat, 12 Aug 2017 14:46:51 +0000 (14:46 +0000)
commit22e5c7678762c10690540072131155d2b8d95a03
tree707b13d61796d64265defc106735ff91f50c6357
parent373c5d8ce43691f90929a74b047d7eababd04379
parent7016687b6ec926a3bca0b321b1c6ce4c30089281
Auto merge of #4393 - burtonageo:update-cargo-new-template, r=matklad

Update lib template for `cargo new` so that the placeholder test contains an assertion

When you run `rustfmt` on the default generated lib template, it modifies it as shown [here](https://play.rust-lang.org/?gist=bd44610731e26e76719e75d47e598990&version=undefined)